package com.lkd.mapper;

import com.lkd.entity.VmType;
import com.lkd.vo.VmTypeVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface VmTypeMapper {

    VmTypeVo selectByNodeId(Long nodeId);

    List<VmTypeVo> selectByPage(String name);

    void insert(VmType vmType);

    void updateById(VmType vmType);

    void deleteById(Integer typeId);

    VmTypeVo selectByInnerCode(String innerCode);
}
